
/**
 * 基础模型
 */
export interface userModel {
    id?: number;
    username?: string;
    packageid?: number;
    create_time?: string;
}

/**
 * 
 * {
        code:0,
        msg:"成功"，
        data:[
            {
                id: 1;
                username:"zhangshan";
                packageid:1;
                passtime:"2018-08-08";
            },
            {
                id: 1;
                username:"zhangshan";
                packageid:1;
                passtime:"2018-08-08";
            }
        ]
 * }
 * 列表返回值
 */
export interface userListResult {
    code?: number;
    msg?: string;
    data?: Array<userModel>
}

/**
 * 
 * {
        code:0,
        msg:"成功"，
        data: {
                id: 1;
                username:"zhangshan";
                packageid:1;
                passtime:"2018-08-08";
            }
 * }
 */
export interface userModelResult {
    code?: number;
    msg?: string;
    data?: userModel
}